package com.rabc.web.service;

import com.rabc.web.entity.SysMenu;
import com.baomidou.mybatisplus.extension.service.IService;
import com.rabc.web.entity.SysUser;

import java.util.List;

/**
* @author 27632
* @description 针对表【sys_menu(菜单表)】的数据库操作Service
* @createDate 2024-07-04 23:05:40
*/

public interface SysMenuService extends IService<SysMenu> {


    List<SysMenu> selectMenuList(SysMenu sysMenu);


    /**
     *查询树形菜单
     * @param sysMenu
     * @return
     */
    public List<SysMenu> selectMenuTree(SysMenu sysMenu);


    /**
     *
     * @param roleId
     * @return
     */
    public List<String> selectMenuListByRoleId(String roleId);


    List<SysMenu> selectMenuListByUser(SysUser user);

}
